package java8_20;

/**
 * @author oldliu
 * @since 1.0
 */
public class StuTest {
    public static void main(String[] args) {
        Student st = new Student("老周", 21, 59, 60);
        st.show();
        System.out.println(st);
        st = new Student("老刘", 29, 40, 40);
        st.show();
        System.out.println(st);

        Student[] sr = {new Student("老周", 21, 59, 60), new Student("老刘", 29, 40, 40), new Student("刘4", 21, 44, 40)};
        for(Student x:sr)
            x.show();
    }
}
